package com.ossjk.oa.accounting.service;

import java.util.Date;
import java.util.List;

import org.apache.ibatis.annotations.Select;

import com.baomidou.mybatisplus.mapper.Wrapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.IService;
import com.ossjk.oa.accounting.entity.CwCpttypes;
/**
 * <p>
 *  服务类
 * </p>
 *
 * @author chair
 * @since 2020-05-14
 */
public interface ICwCpttypesService extends IService<CwCpttypes> {
	
	Page selectVoPage(Page page, Wrapper wrapper);
	
	boolean updateEndtime(Date endtime,String id);
	
	@Select("select * from CwCpttypes where endtime is null order by id")
	List<CwCpttypes> selectCwCpttypesInuse();
}
